package triDataStruct;

import transaction.*;

public abstract class BufferObject {

	protected RWLock lock = new RWLock();
	
	public boolean tryRLock(Transaction tx) {
		return lock.tryLockRead(tx);
	}
	
	public abstract int getKey();
	
	
	
}
